package com.wfs.myapp.entity.vo;

import com.wfs.myapp.config.JpaDto;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
@JpaDto
public class GroupListVo {
    private Long id;
    private String groupName;
    private String groupAvatar;
    private String description;
    private Long masterUserId;
    private String masterUserName;
    private String masterUserAvatar;
    private Integer status;
    private String statusStr;
    private List<GroupListMemberVo> memberList;
    private Integer memberCount;

    @Data
    @ToString
    @JpaDto
    public static class GroupListMemberVo {
        private Long id;
        private Long groupId;
        private Integer status;
        private Long userId;
        private String nickname;
        private String avatar;
    }
}
